package com.apts.constant;

import javax.servlet.http.HttpServletRequest;

/**
 * 常量配置
 * @author ?
 */
public class Constant_PlanB_ {

	// 公司资源路径常量
	public static final String CompanyResource = "/upload" + "/company/";
	
	public static final String EditorfileResource =  "/upload" + "/editorfile/";
	
	public static final String ProductResource = "/upload" + "/product/";
	
	// 服务器域名常量
	public static final String LocalHost( HttpServletRequest request ){
		return request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort();
	}
	
}
